fixed specs to work with new login methods