Solved issue with authentication. FINALLY