Small fix for rake tasks when using PostgreSQL

rake db:drop and db:create are not working when the environment is configured for postgresql with login/password authentication.

The fix allows this scenario to work without affecting configurations that use other auth mechanisms.