reorganized User model (to match other models) and added jasmine specs for User#getAuthenticationParams