[Godwin,Felix] Added test for the login redirect.