Minor login fixes, login redirection still borked.