Reverse the def and fix WEP-104 authentication.

Change-Id: I8a926216a469f18d5e6ff281c9e1eb3eb1f9957f
Signed-off-by: demetris <ierokipides.dem@gmail.com>