Fix bug with case of oauth filename