Attempts to determine why forwarding is happening to someone not logged in, and set a forwarding url to send them where they want to go when they do log in.