Redirect to login page only if we are not there already

(This makes sure we get redirected properly to the admin page after login)