Fixed controller configuration and added password field to User model unit test