Fix username reading when logging in from map