Fixed waiting for authentication on /users