Fix login issues due to UA string