Add a couple of unit tests around oauth_sign_in->submit