update to use new angular-login.toLogin function in bower dependency