make some minor changes to factories and create authorization unit tests for user
create migration to add not null condition to uid and auth_provider in authorization table