Create a local user "test" in Ambari
Create a system user "test" with different password
Trying to authenticate via pam in Ambari UI as user "test" throws Server Error in Ambari UI, without any error in Ambari-server logs
Also the UI gets stalled and not even able to login as admin user unless the browser cache is removed or Ambari UI is opened in a new browser page
Ambari doesn't allow creating users with same user name but different types(Local/pam), so this should be handled.