Logging in from register page redirects to home/index

Addresses issue #1285.