Postgresql support.
Fixed user factory and account show spec when database authentication is selected.
Merge remote-tracking branch 'origin/master' into test-selector