Fix redirect to register page after login: https://bugzilla.redhat.com/show_bug.cgi?id=981071

Redirect user to dashboard after login if they are to redirect to register page.

https://bugzilla.redhat.com/show_bug.cgi?id=981071