fix sign_in_as helper method