I think the rotation code is doing a full page update, rather than a partial page refresh. So if the add flips after you hit "login" but before the new page loads, the login process is stopped.
Its supposed to be an enhancement, but really it makes the page harder to use, depending on how your browser handles the code.