Without this PR, the login requests on mobile devices will be sent to `localhost:8080`, which is incorrect.