Fix specs that started failing due to strip_login
Merge pull request #207 from md5/fix-invalid-login-specs

Fix specs that started failing due to strip_login