Tank auth slightly modified for local logins