fix broken specs for login