fixed testing auth data prep
fixed misplaced bracket