Page redirects before credentials are authenticated
I have a login page that requires a username and password. With the correct the credentials the user is directed to an authentication error screen before authentication.
I have the pages set to require authentication so the user can't URL it directly.
Do I need a sleep() and am I missing something?