More tests were made to ensure the correct redirects after a user log in.

refs #1231