Added optional parameter to set catalog after login.