Return user to appropriate state after login if back parameter exists.
Somewhat smarter state management.