trim login and password on auth