Added a test to ensure friendly forwarding only redirects to given URL on the first login.