Add test for friendly forwarding

When a non-signed user attempts to visit an unprotected page, redirect
them back to it when they are successfully signed in. Subsequent sign
ins (sign out then sign in again) should redirect them back to the
default (profile) page.

Signed-off-by: Eugie Limpin <eugiellimpin@gmail.com>