Added support for authentication of multiple accounts