server should redirect to `console` instead of `/console` to support setups involving server being hosted at a sub-path. console should be able to determine the root path and do the changes accordingly.