Fix Secured.java redirect for release

Signed-off-by: Thameera Senanayaka <thameera@alliontechnologies.com>