A swift auth middleware which is persistent and uses the password as the authentication token.