Task/add auth tests

#### Reviewers
@jframos @flopezag

#### Description
ADD unit tests

#### Test
tested locally