Added redirect_uri parameter to login response redirection