Added test to check redirection after successful login