login: slight fixes