login: Check if p4 tickets are expired.

Some P4 server is not allowed a password in command line,
Hence, I check the login status and request password right when it needs.