add oauth2 authorize workaround for test