Https App Write Authentication Problem