Partially add openid for login. No good solution for unittest :(