Dileep,Anishek | 2287 | moving auth related methods to common module, this also fixes test setup