Martini handlers for authentication.