reverted and reimplemented authentication
added delay for auth sign to prevent prematurely reading buffer that was just sent