More RESTful login endpoints, with HTTP Basic Authentication