normalize auth procedure; add store tests