Redirect to requested URL after SSO

Seeing this issue too.

The “login required” option might be causing issues in other parts of the program as well - see Using Discourse API to return user data when the "Require authentication to read content on this site, disallow anonymous access." setting is checked.