Moved authentication/passwords-related code to its own project