Fixed remote authentication issues