#15 Made api authentication Unicode proof. Implemented test_authentication endpoint.