outsource http_login helper method into support/auth Auth module