A basic generic create/authenticate wrapper for logins.