addresses linesdotcom/lines#606 

Fixes: #606 Undefined index error on login.