MOB-1725 Store credentials in UserPrefManager outside the method setSelectedServer to avoid method calls loop which made app crash at startup.