Created a new account and was able to login to the gateway when in pending-user role.
After receiving the privilege change email, tried to login and getting Airavata system exception. "Error while retrieving user resource profile. More info : getUserResourceProfile failed: unknown result"