core: Lots of build fixes

s3 - code moved to drivers since that is where its supposed
     to be
build - Add OpenSSL build checking for future authentication
     mechanism

Signed-off-by: Harshavardhana <fharshav@redhat.com>