Make sure the user is redirected back to the current page after being forced to login.