Support hard-coded URLs in LOGIN_REDIRECT_URL. Closes #992.