BZ-8961: Adding Login with redirect behavior.