Setup the correct redirect url for login.